package cn.iocoder.yudao.module.project.controller.admin.supplier.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 供应商信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SupplierRespVO {

    @Schema(description = "供应商编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "28476")
    @ExcelProperty("供应商编码")
    private String id;

    @Schema(description = "供应商名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("供应商名称")
    private String name;

    @Schema(description = "导入时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("导入时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone = "GMT+8")
    private LocalDateTime operatingTime;
    private String operatingTimeStr;

    @Schema(description = "导入人员")
    @ExcelProperty("导入人员")
    private String operator;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone = "GMT+8")
    private LocalDateTime createTime;
    private String createTimeStr;

}